package com.shinewind.info.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shinewind.pojo.dto.MyUserDto;
import com.shinewind.pojo.dto.UserDto;
import com.shinewind.pojo.entity.UserInfo;

public interface IUserInfoService extends IService<UserInfo> {
    public UserInfo getUserById(String uId);
    public UserInfo getUserInfoByUsername(String username);
    public UserInfo getUserInfoByNickname(String nickname);
    public UserInfo getUserInfoByTelephone(String telephone);
    public UserInfo insertANDGetUid(UserInfo userInfo);
    public String updateUserInfoByDto(String uId, UserDto userDto);
    public Boolean updateUserInfo(UserInfo saveUserInfo);
}